#import "OmPersonalSettingVCSectionHeaderView.h"
@interface OmPersonalSettingVCSectionHeaderView ()
@property (nonatomic, strong) UILabel *titleLabel;
@end
@implementation OmPersonalSettingVCSectionHeaderView
- (instancetype)initWithTitle:(NSString *)title {
    self = [super init];
    if (self) {
        self.titleLabel.text = title;
    }
    return self;
}
- (void)configSelf {
    self.fp_backgroundColor([UIColor whiteColor]);
}
- (void)allocateComponents {
    self.titleLabel = [[UILabel alloc] init].fp_font([UIFont systemFontOfSize:12 weight:UIFontWeightMedium]).fp_textColor(HexadecimalColor(@"#666666"));
    [self addSubview:self.titleLabel];
}
- (void)layoutComponents {
    [self.titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self);
        make.left.equalTo(self).offset(22);
    }];
}
@end
